import 'package:get/get.dart';

import '../../../../../../common/models/process/office_center_filter.dart';

class OfficeCenterFilterAttributeState {
  // title
  final _title = "".obs;
  set title(value) => _title.value = value;
  get title => _title.value;


  final Rx<OfficeCenterFilterBody> filterPicked = OfficeCenterFilterBody().obs;


  final RxList<OfficeCenterFilterAttributeItem> applicationList = <OfficeCenterFilterAttributeItem>[].obs; // 可选择的应用
  final RxList<OfficeCenterFilterAttributeItem> processList = <OfficeCenterFilterAttributeItem>[].obs;  // 可选择的流程
  final RxList<OfficeCenterFilterAttributeItem> creatorUnitList = <OfficeCenterFilterAttributeItem>[].obs;  // 可选择的组织
  final RxList<OfficeCenterFilterAttributeItem> startTimeMonthList = <OfficeCenterFilterAttributeItem>[].obs;  // 可选择的开始月份
  final RxList<OfficeCenterFilterAttributeItem> completedTimeMonthList = <OfficeCenterFilterAttributeItem>[].obs;  // 可选择的结束月份
  final RxList<OfficeCenterFilterAttributeItem> activityNameList = <OfficeCenterFilterAttributeItem>[].obs;  // 可选择的活动节点
  final RxList<OfficeCenterFilterAttributeItem> completedList = <OfficeCenterFilterAttributeItem>[].obs;  // 可选择的完成状态
}


enum OfficeCenterFilterAttributeType {
  applicationList,
  processList,
  creatorUnitList,
  startTimeMonthList,
  completedTimeMonthList,
  completedList,
  activityNameList,
}